﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="search.aspx.cs" Inherits="BaoJian.P.search" %>

<%@ Register Src="../Control/bj/SearchResultAd.ascx" TagName="SearchResultAd" TagPrefix="uc1" %>
<%@ Register Src="Control/PHeader.ascx" TagName="PHeader" TagPrefix="uc2" %>
<%@ Register Src="../Control/Footer.ascx" TagName="Footer" TagPrefix="uc9" %>
<%@ Register TagPrefix="webdiyer" Namespace="Wuqi.Webdiyer" Assembly="AspNetPager" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <link type="text/css" href="style/plat_layout.css" rel="stylesheet" />
    <link type="text/css" href="style/plat_gateway.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <uc2:PHeader ID="PHeader1" runat="server" />
        <div id="content">
            <div id="stitle">
                搜索主题 <font color="#dd0000"><font color="#dd0000">
                    <%=skey%></font></font>共搜索到：<%=TotalNum.Value%>
                项结果
            </div>
            <div id="result">
                <div class="searchInput">
                    <asp:TextBox ID="KeyWords" runat="server"></asp:TextBox>
                    <input type="button" id="SearchBtn" value="搜索" onclick="lookupAjax()" />
                    <asp:HiddenField ID="TotalNum" runat="server" />
                </div>
                <div id="con_left">
                    <asp:DataList ID="ListResult" runat="server">
                        <ItemTemplate>
                            <div id="aresult">
                                <div class="title">
                                    <a href="c.aspx?id=<%# DataBinder.Eval( Container.DataItem,"oid") %>" target="_blank">
                                        <%# DataBinder.Eval( Container.DataItem,"Title") %></a>
                                </div>
                                <div class="summary">
                                    <%# DataBinder.Eval(Container.DataItem, "Summary")%>
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:DataList>
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" HorizontalAlign="Center" PagingButtonSpacing="20px"
                        ShowCustomInfoSection="Left" UrlPaging="True" Width="100%" ImagePath="images/asppager"
                        PagingButtonType="Image" NumericButtonType="Text" NavigationButtonType="image"
                        ButtonImageExtension="gif" ButtonImageNameExtension="n" DisabledButtonImageNameExtension="g"
                        ShowNavigationToolTip="true" UrlPageIndexName="pageindex" PageSize="20" OnPageChanged="AspNetPager1_PageChanged">
                    </webdiyer:AspNetPager>
                </div>
              <%--  <div id="con_right">
                    <uc1:SearchResultAd ID="SearchResultAd1" runat="server" />
                </div>--%>
                <div id="bottomline">
                </div>
                <div class="clearer">
                </div>
            </div>
        </div>
    </div>
     <uc9:Footer ID="Footer1" runat="server" />
    </form>
</body>
</html>
